//写一个事件处理函数
function handleClick (e) {
  console.log('The link was clicked.', e)
}
// 传递自定义参数
function handlek (id, e) {
  console.log('The link was clicked.', id, e)
}


function App () {
  return (
    <div className="App">
      <button onClick={handleClick}>click me</button>
      <button onClick={(e) => handlek(10086, e)}>click me</button>
    </div>
  )
}

export default App
